<%@page pageEncoding="UTF-8"%>
<!-- *************************************** START OF HEADERMETRUM FILE -->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="masthead" class="masthead">
 <br/>
 <table cellpadding="0" cellspacing="0" >
  <tr>
   <td>
    <a href="http://sumo.googlecode.com/"> 
     <img src="img/logo.png" border="0" width="50" height="50" />
    </a>
   </td>
  </tr>
  <tr>
   <td width="100%" align="left" valign="bottom" class="masthead">
    <c:choose>
     <c:when test='${empty sessionScope.username}'>
      <p>You are not logged in.</p>
     </c:when>
     <c:otherwise>
      <p>You are logged in as <b><%= session.getAttribute("username")%></b>.
       <c:url value="evaluate.jsp" var="evaluateURL"/>
       <c:url value="monitor.jsp" var="monitorURL"/>
       <c:url value="logout.jsp" var="logoutURL"/>
       <a href='<c:out value="${evaluateURL}" />'>evaluate</a> |
       <a href='<c:out value="${monitorURL}" />'>monitor</a> | 
       <a href='<c:out value="${logoutURL}" />'>logout</a>
      </p>
     </td>
    </c:otherwise>
   </c:choose> 
  </tr>
 </table>
</div>
<!-- *************************************** END OF HEADER FILE -->

